<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="seedId" name="seedId" th:value="${seedlingDO.seedId}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">品种
                                ：</label>
                            <div class="col-sm-8">
                                <input id="varieties" name="varieties" th:value="${seedlingDO.varieties}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">来源：</label>
                            <div class="col-sm-8">
                                <input id="source" name="source" th:value="${seedlingDO.source}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">数量：</label>
                            <div class="col-sm-8">
                                <input id="count" name="count" th:value="${seedlingDO.count}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">繁育类型(自根苗/嫁接苗繁育)：</label>
                            <div class="col-sm-8">
                                <input id="breedType" name="breedType" th:value="${seedlingDO.breedType}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">育苗方式(硬枝扦插/容器扦插/脱毒组/绿植嫁接/硬枝嫁接育苗)：</label>
                            <div class="col-sm-8">
                                <input id="breedWay" name="breedWay" th:value="${seedlingDO.breedWay}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">出圃日期：</label>
                            <div class="col-sm-8">
                                <input id="outTime" name="outTime"
                                       th:value="${#dates.format(seedlingDO.outTime,'yyyy-MM-dd HH:mm')}"
                                       class="form-control" type="datetime-local">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">是否出圃：</label>
                            <div class="col-sm-8">
                                <select name="isOut" class="form-control" th:if="${seedlingDO.isOut} eq 0">
                                    <option value="0" selected>
                                        否
                                    </option>
                                    <option value="1">
                                        是
                                    </option>
                                </select>
                                <select name="isOut" class="form-control" th:if="${seedlingDO.isOut} eq 1">
                                    <option value="0" >
                                        否
                                    </option>
                                    <option value="1" selected>
                                        是
                                    </option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">贮藏方式：</label>
                            <div class="col-sm-8">
                                <input id="storageWay" name="storageWay" th:value="${seedlingDO.storageWay}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="button" onclick="save(1)" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/blog/seedling/edit.js">

</script>
</body>
</html>
